<ul class="nav nav-tabs">
    <li role="presentation" ><a href="{php echo createWebUrl('theme', array('op'=>'post','id'=>$themeid));}" >活动编辑</a></li>
    {if $system['softstyle']==109}
    <li {if strstr($_P['r'],'education')}class="active"{/if}>
    <a href="{php echo createWebUrlPlugin('education',array('themeid'=>$themeid,'action'=>5));}">教培课程</a>
    </li>
    {/if}
    {if $_G['isSuperAdmin']}
    <li role="presentation" {if $do=='system'}class="active"{/if} ><a href="{php echo createWebUrl('system', array('op'=>'display','themeid'=>$themeid));}" >参数设置</a></li>
    {/if}
    {if $config['ad_style']==1}
    <li role="presentation" {if $do=='ad'}class="active"{/if} ><a href="{php echo createWebUrl('ad', array('op'=>'display','themeid'=>$themeid));}" >广告</a></li>
    {/if}
    <li role="presentation" class="{php echo $do=='poster' && $status == 0?active:'';}"><a href="{php echo createWebUrl('poster',array('op' => 'display','poster_status'=>0,'themeid'=>$themeid));}" >海报</a></li>
    {if $system['isheadposter'] == '1'}
    <li role="presentation" class="{php echo $do=='poster' && $status == 1?active:'';}"><a href="{php echo createWebUrl('poster',array('op' => 'display','poster_status'=>1,'themeid'=>$themeid));}" >活动首图海报</a></li>
    {/if}
    {if $system['ispresale']==1}
    <li role="presentation" class="{php echo $do=='poster' && $status == 3?active:'';}"><a href="{php echo createWebUrl('poster',array('op' => 'display','poster_status'=>3,'themeid'=>$themeid));}" >补款海报</a></li>
    {/if}
    {if $config['get_mystery_boxes']==1 || $config['get_mystery_boxes']==3}
    <li role="presentation" class="{php echo $do=='poster' && $status == 2?active:'';}"><a href="{php echo createWebUrl('poster',array('op' => 'display','poster_status'=>2,'themeid'=>$themeid));}" >盲盒海报</a></li>
    {/if}
    <li role="presentation" {if $do=='qrcode'}class="active"{/if} ><a href="{php echo createWebUrl('qrcode', array('themeid'=>$themeid));}" >二维码</a></li>
    <div class="form-group">
        <form id = "myform" action="./index.php" method="get" class="form-horizontal" role="form">
            <input type="hidden" name="c" value="site" />
            <input type="hidden" name="a" value="entry" />
            <input type="hidden" name="m" value="{$_P['m']}" />
            <input type="hidden" name="do" value="{$do}" />
            <input type="hidden" name="op" value="{$op}" />
            {if count($themelist)>1 }
            <div class="col-sm-3 control-label" style="float: right;">
                <select onchange="submitForm();" class="form-control" name="themeid">
                    {loop $themelist $row}
                    <option value="{$row['id']}" {if $themeid == $row['id'] }selected="selected"{/if}>{$row['id']} - {php echo mb_substr($row['title'],0,8,'utf-8');}</option>
                    {/loop}
                </select>
            </div>
            {/if}
        </form>
    </div>
</ul>